Repository navigation
Modernize packaging, CI and tests; release 1.4 - #13
Merged
Merged
Conversation
- Replace setup.py with pyproject.toml; drop pypandoc build dependency and unused/stdlib deps (PyYAML, argparse); require Python >= 3.10 - CI: test Python 3.10-3.14 against MySQL 8.4 / PostgreSQL 17 service containers, bump actions, use codecov-action, add build + twine check job - Remove stdout temp files after printing (query data was left in /tmp) - Use pymysql `database=` instead of deprecated `db=` - Tests: enable never-collected cursor tests, fix hardcoded home dir, close connections/files, use temp dirs, add main() and JSON coverage Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## main #13 +/- ##
=========================================
Coverage 100.00% 100.00%
=========================================
Files 1 1
Lines 105 136 +31
=========================================
+ Hits 105 136 +31 ☔ View full report in Codecov by Harness. 🚀 New features to boost your workflow:
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
setup.py→pyproject.toml. Drops thepypandoc/pandoc build requirement (README is now served as Markdown), plus unusedPyYAMLand stdlibargparsefrom dependencies. Requires Python ≥ 3.10 (psycopg2-binary's current floor). Version → 1.4.checkout@v5,setup-python@v6,codecov-action@v5; newbuildjob runspython -m build+twine check --strictand uploadsdist/./tmpon every run; it is now removed after printing.db=→database=.test_prefix);resolve_home_dirtest hardcoded/home/runner; connections/files are now closed; temp dirs instead of fixed/tmppaths; new tests formain()(stdin + arg parsing), temp-file cleanup, and JSONB stringification..coveragercno longer excludes all ofmain().🤖 Generated with Claude Code